package com.smh.a05extendsdemo05;

public class Dog {

    public Dog() {
        System.out.println("fu gouzao");
    }

    public Dog(String name,int age){
        System.out.println(name+" "+age);
    }

    public void eat(){
        System.out.println("chi gouliang");
    }
    public void drink(){
        System.out.println("heshui");
    }

    public void lookhome(){
        System.out.println("kanjia");
    }

}
